package com.yiyi.word_test.repository;

import com.yiyi.word_test.entity.History;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface HistoryRepository extends JpaRepository<History, Integer> {
    List<History> findByUserOpenidOrderByHistoryIdDesc(String userOpenId);
}
